FROM daocloud.io/node:0.10-onbuild
MAINTAINER dashinta dashinta@163.com
EXPOSE 8888
ENV ONEAPM_APP_NAME awesome_app
ENV ONEAPM_DEMO 1
ENV ONEAPM_LICENSE_KEY <YOUR_KEY>
ENV ONEAPM_LOG stdout
ENV ONEAPM_LOG_LEVEL trace
ENV ONEAPM_NO_CONFIG_FILE 1

ADD * /home/node/

RUN cd /home/node/
RUN npm install

CMD ["npm","start"]